﻿namespace BM.Tools.WebControls.MForm.Controls.ValueHandlers
{
    using System.Web.UI.WebControls;

    /// <summary>
    /// An interface for list control value handlers
    /// </summary>
    public interface IListControlValueHandler
    {
        /// <summary>
        /// Gets ListControl.
        /// </summary>        
        ListControl ListControl
        {
            get;
        }

        /// <summary>
        /// Gets or sets a value indicating whether to use empty option at the beginning of the list items.
        /// </summary>  
        bool EmptyOptionFirst
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the text of empty option
        /// </summary>  
        string EmptyOptionText
        {
            get;
            set;
        }
    }
}